package com.ming.properties;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by yudm on 2016-10-23.
 */
@Component
public class ProjectSetting {

    @Value("${projectName}")
    private String projectName;
    @Value("${a.random.value}")
    private String rValue;
    @Value("${a.random.int}")
    private int rInt;
    @Value("${a.random.long}")
    private long rLong;
    @Value("${a.random.test1}")
    private int test1;
    @Value("${a.random.test2}")
    private int test2;

    public String getrValue() {
        return rValue;
    }

    public void setrValue(String rValue) {
        this.rValue = rValue;
    }

    public int getrInt() {
        return rInt;
    }

    public void setrInt(int rInt) {
        this.rInt = rInt;
    }

    public long getrLong() {
        return rLong;
    }

    public void setrLong(long rLong) {
        this.rLong = rLong;
    }

    public int getTest1() {
        return test1;
    }

    public void setTest1(int test1) {
        this.test1 = test1;
    }

    public int getTest2() {
        return test2;
    }

    public void setTest2(int test2) {
        this.test2 = test2;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }
}
